package com.ruoyi.web.shopping.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@ApiModel("商品销售实体类")
public class Sale implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("销售id")
    private String id;

    @ApiModelProperty("折扣id")
    private String discountsId;

    @ApiModelProperty("商品id")
    private String productsId;

    @ApiModelProperty("销售日期")
    private LocalDateTime saleDate;

    @ApiModelProperty("价格id")
    private String priceId;

    @ApiModelProperty("销售数量")
    private long saleQuantity;

}
